<link href="themes/miqinew/images/touch-icon.png" rel="apple-touch-icon-precomposed" />
<link href="themes/miqinew/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="/distribute/template/static/css/ectouch.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="/distribute/template/static/js/transport.js"></script>
<script type="text/javascript" src="/distribute/template/static/js/common.js"></script>
<script type="text/javascript" src="/distribute/template/static/js/user.js"></script>


<style>
    .touch .user_top{
        height: auto;
        padding-top: 15px;
        padding-bottom: 25px;
    }
</style>
<?php
$districute = new Distribute($minfo["member_id"]);
$disconfig = (object)Distribute::$config;

?>
<dl class="user_top">
  <dt> <img src="/data/upload/shop/avatar/avatar_<?php echo $minfo["member_id"]?>.jpg" onerror="this.src='/data/upload/shop/common/default_user_portrait.gif'"> </dt>
  <dd>
    <p><?php echo empty($minfo["member_truename"]) ? $minfo['member_name'] : $minfo['member_truename'] ?></p>
      <?php
          $proxy = $districute->getMinfo();
          if (false) {

      ?>
    <p><span>资格：<?php echo $districute->getLevel(); ?>级分销商</span></p>
      <?php

          }

      ?>

    <p>

    </p>
  </dd>

  <div class="quan1"></div>
  <div class="quan2"></div>
  <div class="quan3"></div>
</dl>
<div class="blank3"></div>

<?php
	$action = isset($_GET['action']) ? $_GET['action'] : 'main';
	switch ($action) {
		case 'main':
			include "main.php";
			break;

		case "store_setting":
			include "store_setting.php";
			break;

        case 'show_member':
            include 'show_member.php';
             break;

        case 'my_goods':
            include 'my_goods.php';
            break;

        case 'show_order':
            include 'show_order.php';
            break;

        case 'goods_list':
            include 'goods_list.php';
            break;

        case 'deal':
            include 'deal.php';
            break;

        case 'apply':
            include "apply.php";
            break;

		default:
			# code...
			break;
	}
?>














